<?php e($javascript->link('tiny_mce/tiny_mce'));?>
<script language="javascript" type="text/javascript">
	tinyMCE.init({
		theme : "advanced",
		mode : "textareas",
		plugins : "advimage, advlink,table,spellchecker,save,media,xhtmlxtras,paste,simplebrowser",
		// Set TinyMCE Theme
		theme_advanced_buttons1 : "newdocument,save,separator,cut,copy,paste,pastetext,pasteword,selectall,separator,bold,italic,underline,separator,justifyleft,justifycenter,justifyright, justifyfull,bullist,numlist,undo,redo,link,unlink,advlink,code,spellchecker",
    	theme_advanced_buttons2 : "image,advimage,media,separator,table,row_props, delete_row, row_before, row_after, cell_props,delete_col,col_before,col_after,split_cells,merge_cells",
    	theme_advanced_buttons3 : "formatselect,fontselect,fontsizeselect,forecolor,backcolor,separator,cite,ins,del,abbr,acronym",
    	theme_advanced_toolbar_location : "top",
    	theme_advanced_toolbar_align : "left",
    	theme_advanced_path_location : "bottom",
    	extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
		// Simple Browser Settings
		plugin_simplebrowser_width : '800', //default
       	plugin_simplebrowser_height : '600', //default
       	plugin_simplebrowser_browselinkurl : '/js/tiny_mce/plugins/simplebrowser/browser.html?Connector=connectors/php/connector.php',
       	plugin_simplebrowser_browseimageurl : '/js/tiny_mce/plugins/simplebrowser/browser.html?Type=Image&Connector=connectors/php/connector.php',
       	plugin_simplebrowser_browseflashurl : '/js/tiny_mce/plugins/simplebrowser/browser.html?Type=Flash&Connector=connectors/php/connector.php'
	});
</script>